﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RespostaUsuarioAmizade.ascx.cs"
    Inherits="Voluntariar.WEB.Controls.RespostaUsuarioAmizade" %>
<style type="text/css">
    .lnbverde:hover, .lnbverde:active
    {
        color: green;
        text-decoration: none;
    }
    
    .lnbred:hover, .lnbred:active
    {
        color: red;
        text-decoration: none;
    }
    .btn
    {
        background-color: #d6e5ec;
        color: #172D3A;
        border: solid 1px #172D3A;
        background-color: #d6e5ec;
        text-decoration: none;
        padding: 3px 8px;
        display: block;
        font-weight: bold;
        font-size: 0.92em;
        float: left;
        margin: 0 3px;
        font-style: inherit;
        font-size: 100%;
        font-family: inherit;
        vertical-align: baseline;
    }
    h4
    {
        font-size: 1.0em;
        color: #172D3A;
        float: left;
    }
</style>
<table cellpadding="1" cellspacing="1" width="100%" border="0" runat="server" id="table">
    <tr>
        <td align="center">
            <asp:Label ID="lblError" runat="server" CssClass="redtext"></asp:Label>
        </td>
    </tr>
    <tr>
        <td valign="top" align="center">
            <fieldset>
                <legend>Requisições de Amigos</legend>
                <asp:DataList ID="RequisicoesLista" runat="server" Width="100%" RepeatColumns="5"
                    OnItemCommand="RequisicoesLista_ItemCommand">
                    <ItemTemplate>
                        <table border="0" cellpadding="2" cellspacing="2" align="center">
                            <tr>
                                <td align="center" valign="top">
                                    <a href='<%#getHREF(Container.DataItem)%>'>
                                        <asp:HiddenField ID="hdnID" runat="server" Value='<%#Eval("ID") %>' />
                                        <img alt="" src='<%# getSRC(Container.DataItem) %>' align="middle" border="0" width="120px">
                                        <br />
                                        <asp:LinkButton ID="AcceptButton" CssClass="btn lnbverde" runat="server" ToolTip="Aceitar"
                                            Text="Aceitar" CommandName="Aceita" />
                                        <asp:LinkButton ID="Deny" runat="server" CssClass="btn lnbred" ToolTip="Negar" Text="Negar"
                                            CommandName="Recusa" />
                                    </a>&nbsp;
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
            </fieldset>
        </td>
    </tr>
</table>
